﻿using Ay.MvcFramework;
using Base.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MPSystem.Models
{
    public class BasicDataSet_SystemModel : Model
    {

        private WYYD _WYYD;

        /// <summary>
        /// 围岩移动
        /// </summary>
        public WYYD WYYD
        {
            get { return _WYYD; }
            set { Set(ref _WYYD, value); }
        }

        public CommonSystem _CommonSystem;
        /// <summary>
        /// 可以共享的字段集合
        /// </summary>
        public CommonSystem CommonSystem
        {
            get { return _CommonSystem; }
            set { Set(ref _CommonSystem, value); }
        }


    }

   
    /// <summary>
    /// 综采压力--左边
    /// </summary>
    public class ZCYL_Left : AyPropertyChanged
    {
        private int _cqbh = -1;
        private int _gzmmc = -1;
        private int _fjksbh=0;
        private int _fjzzbh=0;
        private string _firsttd;
        private double _firstgj=400;
        private string _secondtd;
        private double _secondgj=400;
        private string _thirdtd;
        private double _thirdgj=400;
        private double _upperlimt;
        private double _lowlimt;
        private double _alarmvalue;
        private int _totalsum;
        private string _writecyc;
        private string _goodsstyle;
        private double _qmjdw;
        private bool _alarmsound;
        private bool _alarmphone;
        private double _bzyl;
        private int _ID;


        /// <summary>
        /// 工作面
        /// </summary>
        public int GZMBH
        {
            get { return _gzmmc; }
            set { Set(ref _gzmmc, value); }
        }

        /// <summary>
        /// 测试区域
        /// </summary>
        public int CQBH
        {
            get { return _cqbh; }
            set { Set(ref _cqbh, value); }
        }
        /// <summary>
        /// 分机开始编号
        /// </summary>
        public int YLFJQSBH
        {
            get { return _fjksbh; }
            set { Set(ref _fjksbh, value); }
        }
        /// <summary>
        /// 分机终止编号
        /// </summary>
        public int YLFJZZBH
        {
            get { return _fjzzbh; }
            set { Set(ref _fjzzbh, value); }
        }
        /// <summary>
        /// 第一通道
        /// </summary>
        public string FIRSTTD
        {
            get { return _firsttd; }
            set { Set(ref _firsttd, value); }
        }
        /// <summary>
        /// 第一通道缸径
        /// </summary>
        public double FIRSTGJ
        {
            get { return _firstgj; }
            set { Set(ref _firstgj, value); }
        }
        /// <summary>
        /// 第二通道
        /// </summary>
        public string SECONDTD
        {
            get { return _secondtd; }
            set { Set(ref _secondtd, value); }
        }
        /// <summary>
        /// 第二通道缸径
        /// </summary>
        public double SECONDGJ
        {
            get { return _secondgj; }
            set { Set(ref _secondgj, value); }
        }
        /// <summary>
        /// 第三通道
        /// </summary>
        public string THIRDTD
        {
            get { return _thirdtd; }
            set { Set(ref _thirdtd, value); }
        }
        /// <summary>
        /// 第三通道缸径
        /// </summary>
        public double THIRDGJ
        {
            get { return _thirdgj; }
            set { Set(ref _thirdgj, value); }
        }
        /// <summary>
        /// 压力上限
        /// </summary>
        public double YLSX
        {
            get { return _upperlimt; }
            set { Set(ref _upperlimt, value); }
        }
        /// <summary>
        /// 压力下限
        /// </summary>
        public double YLXX
        {
            get { return _lowlimt; }
            set { Set(ref _lowlimt, value); }
        }
        /// <summary>
        /// 压力警报值
        /// </summary>
        public double YLBJZ
        {
            get { return _alarmvalue; }
            set { Set(ref _alarmvalue, value); }
        }
        /// <summary>
        /// 总架数
        /// </summary>
        public int ZJZS
        {
            get { return _totalsum; }
            set { Set(ref _totalsum, value); }
        }
        /// <summary>
        /// 记录周期
        /// </summary>
        public string SJJLZQ
        {
            get { return _writecyc; }
            set { Set(ref _writecyc, value); }
        }
        /// <summary>
        /// 支架形式
        /// </summary>
        public string ZJXS
        {
            get { return _goodsstyle; }
            set { Set(ref _goodsstyle, value); }
        }
        /// <summary>
        /// 切煤机定位
        /// </summary>
        public double Qmjdw
        {
            get { return _qmjdw; }
            set { Set(ref _qmjdw, value); }
        }
        /// <summary>
        /// 声音报警
        /// </summary>
        public bool WAVEBJ
        {
            get { return _alarmsound; }
            set { Set(ref _alarmsound, value); }
        }
        /// <summary>
        /// 手机报警
        /// </summary>
        public bool DXBJ
        {
            get { return _alarmphone; }
            set { Set(ref _alarmphone, value); }
        }
        /// <summary>
        /// 泵站压力
        /// </summary>
        public double Bzyl
        {
            get { return _bzyl; }
            set { Set(ref _bzyl, value); }
        }

        public int ID { get => _ID; set => _ID = value; }
    }
    /// <summary>
    /// 综采压力--右边
    /// </summary>
    public class ZCYL_Right : AyTableViewRowModel
    {
        private int _fjbh;
        private string _zjbh;
        private string _sbbh;
        private string _wz ;
        private int _zt = -1;
        private int _gzmbh;
        /// <summary>
        /// 分机编号
        /// </summary>
        public int YLFJBH
        {
            get { return _fjbh; }
            set { Set(ref _fjbh, value); }
        }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string SBBM
        {
            get { return _sbbh; }
            set { Set(ref _sbbh, value); }
           }
        /// <summary>
        /// 位置
        /// </summary>
        public string WZ
        {
            get { return _wz; }
            set { Set(ref _wz, value); }
        }
  
    /// <summary>
    /// 状态
    /// </summary>
        public int SYZT
        {
            get { return _zt; }
            set { Set(ref _zt, value); }
        }
 
        /// <summary>
        /// 支架编号
        /// </summary>
        public string DYZJBH
        {
            get { return _zjbh; }
            set { Set(ref _zjbh, value); }
             }
        /// <summary>
        /// 工作面
        /// </summary>
        public int GZMBH { get => _gzmbh; set => _gzmbh = value; }
    }
    /// <summary>
    /// 综采压力--下面
    /// </summary>
    public class ZCYL_Bottom : AyTableViewRowModel
    {

        private int _cqbh = -1;
        private int _gzmbh = -1;
        private string _gzmmc;
        private int _fjksbh;
        private int _fjzzbh;
        private string _firsttd;
        private double _firstgj;
        private string _secondtd;
        private double _secondgj;
        private string _thirdtd;
        private double _thirdgj;
        private double _upperlimt;
        private double _lowlimt;
        private double _alarmvalue;
        private int _totalsum;
        private string _writecyc;
        private string _goodsstyle;
        private double _qmjdw;
        private bool _alarmsound;
        private bool _alarmphone;
        private double _bzyl;
        private int _ID;


        /// <summary>
        /// 工作面编号
        /// </summary>
        public int GZMBH
        {
            get { return _gzmbh; }
            set { Set(ref _gzmbh, value); }
        }

        /// <summary>
        /// 工作面名称
        /// </summary>
        public string GZMMC
        {
            get { return _gzmmc; }
            set { Set(ref _gzmmc, value); }
        }

        /// <summary>
        /// 测试区域
        /// </summary>
        public int CQBH
        {
            get { return _cqbh; }
            set { Set(ref _cqbh, value); }
        }
        /// <summary>
        /// 分机开始编号
        /// </summary>
        public int YLFJQSBH
        {
            get { return _fjksbh; }
            set { Set(ref _fjksbh, value); }
        }
        /// <summary>
        /// 分机终止编号
        /// </summary>
        public int YLFJZZBH
        {
            get { return _fjzzbh; }
            set { Set(ref _fjzzbh, value); }
        }
        /// <summary>
        /// 第一通道
        /// </summary>
        public string FIRSTTD
        {
            get { return _firsttd; }
            set { Set(ref _firsttd, value); }
        }
        /// <summary>
        /// 第一通道缸径
        /// </summary>
        public double FIRSTGJ
        {
            get { return _firstgj; }
            set { Set(ref _firstgj, value); }
        }
        /// <summary>
        /// 第二通道
        /// </summary>
        public string SECONDTD
        {
            get { return _secondtd; }
            set { Set(ref _secondtd, value); }
        }
        /// <summary>
        /// 第二通道缸径
        /// </summary>
        public double SECONDGJ
        {
            get { return _secondgj; }
            set { Set(ref _secondgj, value); }
        }
        /// <summary>
        /// 第三通道
        /// </summary>
        public string THIRDTD
        {
            get { return _thirdtd; }
            set { Set(ref _thirdtd, value); }
        }
        /// <summary>
        /// 第三通道缸径
        /// </summary>
        public double THIRDGJ
        {
            get { return _thirdgj; }
            set { Set(ref _thirdgj, value); }
        }
        /// <summary>
        /// 压力上限
        /// </summary>
        public double YLSX
        {
            get { return _upperlimt; }
            set { Set(ref _upperlimt, value); }
        }
        /// <summary>
        /// 压力下限
        /// </summary>
        public double YLXX
        {
            get { return _lowlimt; }
            set { Set(ref _lowlimt, value); }
        }
        /// <summary>
        /// 压力警报值
        /// </summary>
        public double YLBJZ
        {
            get { return _alarmvalue; }
            set { Set(ref _alarmvalue, value); }
        }
        /// <summary>
        /// 总架数
        /// </summary>
        public int ZJZS
        {
            get { return _totalsum; }
            set { Set(ref _totalsum, value); }
        }
        /// <summary>
        /// 记录周期
        /// </summary>
        public string SJJLZQ
        {
            get { return _writecyc; }
            set { Set(ref _writecyc, value); }
        }
        /// <summary>
        /// 支架形式
        /// </summary>
        public string ZJXS
        {
            get { return _goodsstyle; }
            set { Set(ref _goodsstyle, value); }
        }
        /// <summary>
        /// 切煤机定位
        /// </summary>
        public double Qmjdw
        {
            get { return _qmjdw; }
            set { Set(ref _qmjdw, value); }
        }
        /// <summary>
        /// 声音报警
        /// </summary>
        public bool WAVEBJ
        {
            get { return _alarmsound; }
            set { Set(ref _alarmsound, value); }
        }
        /// <summary>
        /// 手机报警
        /// </summary>
        public bool DXBJ
        {
            get { return _alarmphone; }
            set { Set(ref _alarmphone, value); }
        }
        /// <summary>
        /// 泵站压力
        /// </summary>
        public double Bzyl
        {
            get { return _bzyl; }
            set { Set(ref _bzyl, value); }
        }

        public int ID { get => _ID; set => _ID = value; }
    }
    /// <summary>
    /// 围岩移动
    /// </summary>
    public class WYYD : Model
    {
        private string _csmc;

        /// <summary>
        /// 测试名称
        /// </summary>
        public string CSMC
        {
            get { return _csmc; }
            set { Set(ref _csmc, value); }
        }

        private string _XDMC;

        /// <summary>
        /// 巷道名称
        /// </summary>
        public string XDMC
        {
            get { return _XDMC; }
            set { Set(ref _XDMC, value); }
        }



    }

    /// <summary>
    /// 可以共享的字段
    /// </summary>
    public class CommonSystem : Model
    {
        private string _csmc;

        /// <summary>
        /// 测试名称
        /// </summary>
        public string CSMC
        {
            get { return _csmc; }
            set { Set(ref _csmc, value); }
        }

        private string _XDMC;

        /// <summary>
        /// 巷道名称
        /// </summary>
        public string XDMC
        {
            get { return _XDMC; }
            set { Set(ref _XDMC, value); }
        }



    }

}
